package com.dhnsoft.boot.core.robot.controller;

import com.dhnsoft.boot.core.robot.service.RobotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dhn
 * @version 1.0
 * @date 2023-09-10 20:11
 * @Desc
 */
@RestController
@RequestMapping("robot")
public class RobotController {

    @Autowired
    private RobotService robotService;

    @GetMapping("hello")
    public String hello(){
        return robotService.sayHello();
    }

}
